home *** CD-ROM | disk | FTP | other *** search
/ PC Users 1998 November / Cd users extra 14.iso / prog / inst / mailc / about.c next >
Encoding:
C/C++ Source or Header  |  1998-09-14  |  516 b   |  28 lines

  1. /* about.c */
  2.  
  3. #include <windows.h>
  4. #include "about.h"
  5.  
  6. #ifdef WIN32
  7. BOOL CALLBACK
  8. #else
  9. BOOL FAR PASCAL
  10. #endif
  11. AboutDlgProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam)
  12. {
  13.  switch (iMsg)
  14.     {
  15.      case WM_INITDIALOG:
  16.          return (TRUE);
  17.  
  18.      case WM_COMMAND:
  19.          if (wParam == IDOK || wParam == IDCANCEL)
  20.            {EndDialog(hDlg, TRUE);
  21.             return (TRUE);
  22.            }
  23.          break;
  24.     }
  25.     return (FALSE);
  26. } /* end AboutDlgProc */
  27.                        
  28.